
package uk.ac.cam.cl.oscar;

import java.awt.image.BufferedImage;

public class ImageRecord {
    private BufferedImage thumbnail;
    private String artist;
    private String posterId;
    private String posterBlurb;
    private String cost;
    private double score;
    
    public ImageRecord(BufferedImage thumbnail, String artist, String posterId, String posterBlurb, String cost){
        this.thumbnail = thumbnail;
        this.artist = artist;
        this.posterId = posterId;
        this.posterBlurb = posterBlurb;
        this.cost = cost;
        this.score = 0;
    }
    
    public BufferedImage getThumbnail(){
        return this.thumbnail;
    }
    
    public String getArtist(){
        return this.artist;
    }
    
    public String getPosterId(){
        return this.posterId;
    }
    
    public String getPosterBlurb(){
        return this.posterBlurb;
    }
    
    public String getCost(){
        return this.cost;
    }
    
    public void setScore (double score) {
    	this.score = score;
    }
    
    public double getScore(){
        return this.score;
    }

}
